import { JJUtil } from './../../mobileClientKernel/util/index.js'

Page({
    data: {
        log: '11111'
    },
    onLoad: function () {
        let msg = '111111'

        const supPage = getApp().jj_getSupperPage()
        if (JJUtil.isNotNull(supPage)) {
            const homepagePresenter = supPage.homepagePresenter
            msg = homepagePresenter.homepageData.motto
        }

        this.setData({
            log: msg
        })
    }
})
